package com.example.bikemanagerjava.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("orders")
public class BikeOrder {
  @TableId(value = "orderid", type = IdType.AUTO)
  @TableField("OrderId")
  private Integer orderid;
  @TableField("BikeId")
  private Integer bikeid;
  @TableField("UserId")
  private Integer userid;
 @TableField("StartTime")
  private String starttime;
  @TableField("EndTime")
  private String endtime;
  @TableField("StartLatitude")
  private String startlatitude;
  @TableField("StartLongitude")
  private String startlongitude;
  @TableField("EndLatitude")
  private String endlatitude;
  @TableField("EndLongitude")
  private String endlongitude;
  @TableField("Distance")
  private String distance;
  @TableField("CreatedAt")
  private String createdat;
  @TableField("Note")
  private String note;

}
